<template>
    <div class="box">
        <p style="padding: 10px;">平台管理/<span style="font-size: 14px; color: #555;">入住审核</span></p>
        <div class="top">
            <div class="top_active">
                <p style="font-size: 14px;">公司名称</p>
                <input type="text" placeholder="请输入公司名称">
            </div>
            <button>搜索</button>
        </div>
        <div class="bottom">
            <el-table :data="tableData" style="width: 1000px">
                <el-table-column prop="date" label="公司名称"  width="100" align= 'center' />
                <el-table-column prop="name" label="联系人" width="180" align= 'center' />
                <el-table-column prop="address" label="联系电话" :formatter="formatter" align= 'center'/>
                <el-table-column prop="operate" label="操作" :formatter="formatter" align= 'center' />
            </el-table>
        </div>
    </div>
</template>
<style scoped lang="scss">

.bottom{
    background-color: #fff;
    margin-top: 20px;
}
.box {
    width: 1000px;
    margin: 0 auto;
    user-select: none;
    padding: 20px 40px;
    background-color: #f5f5f5;
}

.top {
    display: flex;
    padding: 20px 40px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    

    button {
        width: 100px;
        height: 30px;
        border: 0;
        outline: 0;
        color: #fff;
        border-radius: 4px;
        border: 1px solid rgb(249, 218, 112);
        background-color: rgb(249, 218, 112);
    }
}

.top_active {
    width: 274px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    input {
        border: 0;
        outline: 0;
        height: 25px;
        width: 200px;
        text-indent: 4em;
        border-radius: 5px;
        border: 2px solid #f5f5f5;
    }
}

</style>


<script  setup>

const tableData = [
    {
        date: '西可体育',
        name: '龙',
        address: '13757719373',
        operate:[
            '审核 驳回'
        ]
    },
    {
        date: '西可体育',
        name: '龙',
        address: '13757719373',
        operate:[
          '审核 驳回'
        ]
    },
    {
        date: '西可体育',
        name: '龙',
        address: '13757719373',
        operate:[
          '审核 驳回'
        ]
    },
    {
        date: '西可体育',
        name: '龙',
        address: '13757719373',
        operate:[
          '审核 驳回'
        ]
    },
]
</script>